<%--
     Copyright 2010 mazhao.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    under the License.
    Document   : front
    Created on : Oct 8, 2010, 10:45:38 PM
    Author     : mazhao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="page"      uri="http://www.opensymphony.com/sitemesh/page" %>
<%@taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <!--
        <META HTTP-EQUIV="Refresh" CONTENT="0;URL=example/HelloWorld.action">
        -->
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/screen.css"
              type="text/css" media="screen, projection">
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/print.css"
              type="text/css" media="print">
        <!--[if lt IE 8]><link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/ie.css"
            type="text/css" media="screen, projection"><![endif]-->
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/blueprint/plugins/fancy-type/screen.css"
              type="text/css" media="screen, projection" />

        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/superfish/superfish.css"
              type="text/css" media="screen, projection" />
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/superfish/superfish-navbar.css"
              type="text/css" media="screen, projection" />
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/superfish/superfish-vertical.css"
              type="text/css" media="screen, projection" />
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/jquery.jgrowl.css"
              type="text/css" media="screen, projection" />
        <link rel="stylesheet" href="<%=request.getContextPath()%>/stylesheet/master.css"
                      type="text/css" media="screen, projection" />


        <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery-1.4.2.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery.ui.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery.debug.js"></script>

        <script type="text/javascript" src="<%=request.getContextPath()%>/script/superfish/hoverIntent.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/script/superfish/superfish.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/script/superfish/supersubs.js"></script>

        <script type="text/javascript" src="<%=request.getContextPath()%>/script/jquery.jgrowl.js"></script>


        <script type="text/javascript">
            DEBUG = true;
            $(document).ready(function(){
                $("#mainMenu").supersubs({
                    minWidth:    12,
                    maxWidth:    27,
                    extraWidth:  1
                }).superfish({
                    animation: {height:'show'},
                    delay:     1200
                });

            });

            $.log("add super fish successfully");

        </script>

        <decorator:head/>
    </head>

    <body>
        <div class="container">
            <!-- !!!ALL TEMPLATE ARE THE SAME!!! -->
            <jsp:include page="/WEB-INF/decorators/header.jsp"/>
            <!-- !!!ALL TEMPLATE ARE THE SAME!!! -->
            <hr/>
            <div class="span-4">
                <!-- this is catalog menu -->
                <div class="span-4">
                <s:property value="catalog" escape="false"/>
                </div>
                <!--
                <s:a action="center" namespace="/management" cssClass="alt">Management Center</s:a><br/>
                -->
                <div class="span-4 " >
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>
                    This is the news area.<br/>

                </div>
            </div>

            <div class="span-20 last">
                <decorator:body/>
            </div>
            <hr>
            <div class="span-24 last" align="right">
                <div class="span-6 colborder alt" align="right">
                    <b><s:text name="decorator.front.footer.phone_desc"/></b><br/>
                    <s:text name="decorator.front.footer.phone_num"/><br/>
                    <br/>
                    <br/>
                    <br/>
                </div>
                <div  class="span-3 colborder alt" align="center">
                    <b><s:text name="decorator.front.footer.sg"/></b><br/>
                    <s:text name="decorator.front.footer.sg_flow"/><br/>
                    <s:text name="decorator.front.footer.sg_vip"/><br/>
                    <s:text name="decorator.front.footer.sg_qa"/><br/>
                    <s:text name="decorator.front.footer.sg_us"/><br/>
                </div>
                <div class="span-3 colborder alt" align="center">
                    <b><s:text name="decorator.front.footer.sm"/></b><br/>
                    <s:text name="decorator.front.footer.sm_home"/><br/>
                    <s:text name="decorator.front.footer.sm_self"/><br/>
                    <s:text name="decorator.front.footer.sm_ems"/><br/>
                    <br/>
                </div>
                <div class="span-3 colborder alt" align="center">
                    <b> <s:text name="decorator.front.footer.pm"/></b><br/>
                    <s:text name="decorator.front.footer.pm_cash"/><br/>
                    <s:text name="decorator.front.footer.pm_online"/><br/>
                    <s:text name="decorator.front.footer.pm_bank"/><br/>
                    <s:text name="decorator.front.footer.pm_desc"/><br/>
                </div>
                <div class="span-3 alt" align="right">
                    <b> <s:text name="decorator.front.footer.ps"/> </b><br/>
                    <s:text name="decorator.front.footer.ps_warranty"/><br/>
                    <s:text name="decorator.front.footer.ps_return"/><br/>
                    <s:text name="decorator.front.footer.ps_main"/><br/>
                    <br/>
                </div>
            </div>
            <hr>
            <div class="span-24 alt" align="center">
                <s:text name="decorator.front.about"/> |
                <s:text name="decorator.front.help"/> |
                <s:text name="decorator.front.us"/> |
                <s:text name="decorator.front.links"/><br/>
                <s:text name="decorator.front.icp"/>    Copyright 2010 MDX-Shopping
            </div>
        </div>
    </body>
</html>